<template>
  <div>
    <table class="table1 owntable mb20 tableLayout" border="0" cellspacing="0" cellpadding="1" style="width: 100%;">
      <tr>
        <td width="150">计算机软件管理编号</td>
        <td>{{ item.number }}</td>
        <td width="150">管理部门</td>
        <td>{{ item.manageDeptName }}</td>
      </tr>
      <tr>
        <td>负责人</td>
        <td>{{ item.manageUserName }}</td>
        <td>编制部门</td>
        <td>{{ item.createDeptName }}</td>
      </tr>
    </table>
    <div class="f14 mb20">计算机软件信息如下：</div>
    <table class="table1 owntable mb20 " border="0" cellspacing="0" cellpadding="1" style="width: 100%;">
      <tr>
        <td class="gray_bg">软件名称</td>
        <td class="gray_bg">软件类别</td>
        <td class="gray_bg">软件版本号</td>
        <td class="gray_bg">单位</td>
      </tr>
      <tr v-for="(v, i) in item.softwareList" :key="i">
        <td class="white_bg">{{ v.softwareName }}</td>
        <td class="white_bg">{{ v.softwareType == 0 ? '嵌入软件' : '应用软件' }}</td>
        <td class="white_bg">{{ v.qty }}</td>
        <td class="white_bg">{{ v.unit }}</td>
      </tr>
    </table>
  </div>
</template>

<script>
export default {
  props: {
    item: {}
  }
};
</script>

<style></style>
